package com.yun.blog.dao;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yun.blog.bean.Picture;
import org.apache.ibatis.annotations.Mapper;

/**
 * title        : PictureMapper
 * projectName  : dantouBlog-back
 * description  : 图片mapper
 * author       : simple
 * date         : 2022/11/30下午4:25
 */

@Mapper
public interface PictureMapper extends BaseMapper<Picture> {

    Integer selectCountByAlbumId(Integer albumId);

    int delByAlbumId(@Param("albumId") Integer albumId);
}
